package com.duyus.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")  // 通过该注解实现批量赋值 从配置文件中
public class AliOSSUtilsProperties {
    private String bucketName;
    private String endpoint;
}
